function validateLogin() {
    var username = document.getElementById("username").value;
    var password = document.getElementById("password").value;

    if (username === "10086" && password === "10086") {
        alert("登陆成功！");
        window.location.href = "index.html";
    } else {
        alert("账号或密码错误！");
    }
}